import Vue from 'vue'
import App from './App.vue'
// vue router
import router from './router'
// vue store
import store from './store'
// 下拉框树插件
import ElSelectTree from 'el-select-tree'
// element
import './plugins/element.js'
// tencent im组件
import './plugins/tencent_tim'
// element ui
import ElementUI from 'element-ui'
// element css
import 'element-ui/lib/theme-chalk/index.css'
// 全局样式
import '@/style/global.scss'
// 全局组件
import './components'
// icon
import './icons'
// video
import 'video.js/dist/video-js.css'
// mrakdown
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'
Vue.use(mavonEditor)
// map
import BaiduMap from 'vue-baidu-map'
Vue.use(BaiduMap, {
  ak: '5qTor8bbWyvs7B7044uGDbXXh8HGPG1u'
})
Vue.config.productionTip = false

// el-select-tree
Vue.use(ElSelectTree)
Vue.use(ElementUI)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
